<!--导航条-->
    <nav class="navbar navbar-inverse navbar-fixed-top" id="topmenu"  role="navigation">
        <!--两个隐藏的标签，存放Session值，方便js获取做用户登录状态的判断！-->
        <input type='hidden' value="{$uid}" id="uid">
      <input type='hidden' value="{$username}"id="username">
      <!-- -->
    <div class="container">
        <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" id="head" href="{:U('Home/ThingLost/all')}">首页</a>
    </div>
    <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav">
        <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">失物OR招领<span class="caret"></span></a>
            <ul class="dropdown-menu">
                <li><a href="{:U('Home/ThingLost/all?lost_or_pick=1')}">招领信息</a></li>
                <li><a href="{:U('Home/ThingLost/all?lost_or_pick=0')}">失物信息</a></li>
            </ul>
            </li>
            </ul>
        <ul class="nav navbar-nav">
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">物品<span class="caret"></span></a>
                <ul class="dropdown-menu"  name="FoundRecord">
                    <volist name="FoundRecord" id="vo">
                        <li><a href="{:U('Home/ThingLost/all/kind_id/'.$vo['id'])}" > {$vo['name']}</a></li>
                    </volist>
                </ul>
            </li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">地点<span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="{:U('Home/ThingLost/all/place/泰山')}">泰山</a></li>
                    <li><a href="{:U('Home/ThingLost/all/place/华山')}">华山</a></li>
                    <li><a href="{:U('Home/ThingLost/all/place/启林')}">启林</a></li>
                    <li><a href="{:U('Home/ThingLost/all/place/六一')}">六一</a></li>
                    <li><a href="{:U('Home/ThingLost/all/place/黑山')}">黑山</a></li>
                </ul>
            </li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">时间<span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="{:U('Home/ThingLost/all/time/'.$today)}" >{$today}</a></li>
                    <li><a href="{:U('Home/ThingLost/all/time/'.$yesterday)}" >{$yesterday}</a></li>
                    <li><a href="{:U('Home/ThingLost/all/time/'.$twoDaysAgo)}">{$twoDaysAgo}</a></li>
                    <li><a href="{:U('Home/ThingLost/all/time/'.$threeDaysAgo)}">{$threeDaysAgo}</a></li>
                    <li><a href="{:U('Home/ThingLost/all/time/'.$fourDaysAgo)}" >{$fourDaysAgo}</a></li>
                    <li><a href="{:U('Home/ThingLost/all/time/'.$fiveDaysAgo)}"id="fiveDaysAgo" onclick="fiveDaysAgo()">{$fiveDaysAgo}</a></li>
                    <li><a href="{:U('Home/ThingLost/all/time/early')}" >更早之前</a></li>
                </ul>
            </li>
        </ul>

    <ul class="nav navbar-nav navbar-right">
      <li><a href="{:U('Home/Post/post')}" id="post" >发布寻物/寻主启示</a></li>
      <li ><a href="{:U('Home/OAuth/Login')}"id="login" >登录</a></li>
    </ul>
      </div>
    </div>
</nav>